class PolicyDealEntity {
  List<PolicattAchListInfo>? attachList;

  PolicyDealEntity({
    this.attachList,
  });

  factory PolicyDealEntity.fromJson(Map<String, dynamic> json) {
    final originList = json['attachList'] as List?;
    List<PolicattAchListInfo> protocolList =
        (originList??[]).map((value) => PolicattAchListInfo.fromJson(value)).toList();

    return PolicyDealEntity(
      attachList: protocolList,
    );
  }
}

class PolicattAchListInfo {
  int? id;
  int? docKind;

  PolicattAchListInfo({
    this.id,
    this.docKind,
  });

  PolicattAchListInfo.fromJson(Map data) {
    id = data['id'];
    docKind = data['docKind'];
  }
}
